<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();

String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<jsp:include page="../common/common.jsp"></jsp:include>
   <script type="text/javascript" src="admin/article/articleList.js?v=1.0"></script>
  </head>
  <body>
  <table id="dg"></table> 
  <div id="tb">
			<a href="javascript:add();" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true">添加</a>
			<a href="javascript:edit();" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">修改</a>
			<a href="javascript:del();" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">删除</a>
			<select id="cc" class="easyui-combobox" name="status" style="width:200px;">   
				    <option value="1">回退</option>   
				    <option value="2">同意</option>   
			</select>  
			<a href="javascript:review();" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">文章审核</a>
	</div>
	
  	<!-- 添加 -->
 	<div id="dlg" class="easyui-dialog" style="width: 420px;height: 360px;padding-left: 20px;"
		  closed="true" buttons="#dlg-buttons">
  			<form action="" id="fm" method="post">
  				<table style="line-height: 30px;">
  					<tr>
  							<th width="100">文章标题:</th>
  							<td ><input type="text" name="articleName" class="easyui-validatebox" style="width:240px "></td>
  					</tr>
  					<tr>
  							<th width="100">类型:</th>
  							<td><input type="text" name="articleTypeId" class="easyui-validatebox" style="width:240px "></td>
  					</tr>
  			</table>
  	</form>
  </div>
  <div id="dlg-buttons" style="text-align:center">
			<a href="javascript:saveOrEdit();" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
			<a href="javascript:closeDialog();" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
	</div>
  
  <!-- 抓取文章 -->
  <!-- <div id="jsoupTab" >
  			<form action="" id="jsoup" method="post">
  			<table style="line-height: 30px;">
  					<tr>
  							<th width="100">URL:</th>
  							<td ><input type="text" name="url" class="easyui-validatebox" style="width:265px "></td>
  					</tr>
  					<tr>
  							<th>规则:</th>
  							<td >
  									<textarea  cols="40" rows="4" class="easyui-validatebox" name="rules" value="" style="width:265px;"> </textarea>  
  							</td>
  					</tr>
  					<tr>
  							<th width="40">文章类别:</th>
  							<td >
  									<input  class="cc" class="easyui-combobox" name="articleType"  data-options="valueField:'id',textField:'articleTypeName',url:'admin/articleType/listTypes'"  value="" style="width:265px;">   
  							</td>
  					</tr>
  			</table>
  	</form>
  </div> -->
  </body>
</html>
